Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

µTVM RPC server and Part 1 of AutoTVM compilation infrastructure #6334

Merged
merged 66 commits into from
Sep 15, 2020

Conversation

areusch
Copy link
Contributor

@areusch areusch commented Aug 25, 2020

RFCs forthcoming when this is promoted from draft; sending to CI

@areusch
Copy link
Contributor Author

areusch commented Sep 11, 2020

@tqchen @liangfu please take another look when you have a minute

Copy link
Member

@tqchen tqchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My comments are addressed, cc @liangfu please take another look

@tqchen tqchen merged commit 745e542 into apache:master Sep 15, 2020
@tqchen
Copy link
Member

tqchen commented Sep 15, 2020

Thansk @liangfu @areusch !

lhutton1 added a commit to lhutton1/tvm that referenced this pull request Sep 17, 2020
Since apache#6334 the RPC server cannot be started unless USE_MICRO is enabled. I've tracked this down to an import in `python/tvn/exec/rpc_server.py`: `from tvm import micro` in the top level list of imports. This will mean that we try to import micro when it's not been built. Fix this by lazily importing micro when initializing an rpc server with micro enabled.

Change-Id: I8f22d81e215cfe4ac0662b0a99bdf02a3e91f90c
tqchen pushed a commit that referenced this pull request Sep 17, 2020
* [RPC] Lazily import micro when starting an RPC server

Since #6334 the RPC server cannot be started unless USE_MICRO is enabled. I've tracked this down to an import in `python/tvn/exec/rpc_server.py`: `from tvm import micro` in the top level list of imports. This will mean that we try to import micro when it's not been built. Fix this by lazily importing micro when initializing an rpc server with micro enabled.

Change-Id: I8f22d81e215cfe4ac0662b0a99bdf02a3e91f90c

* fix lint

Change-Id: I8b78b678374bc82b3b66a7b3595ed4f1684e7d90
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 18, 2020
* [RPC] Lazily import micro when starting an RPC server

Since apache#6334 the RPC server cannot be started unless USE_MICRO is enabled. I've tracked this down to an import in `python/tvn/exec/rpc_server.py`: `from tvm import micro` in the top level list of imports. This will mean that we try to import micro when it's not been built. Fix this by lazily importing micro when initializing an rpc server with micro enabled.

Change-Id: I8f22d81e215cfe4ac0662b0a99bdf02a3e91f90c

* fix lint

Change-Id: I8b78b678374bc82b3b66a7b3595ed4f1684e7d90
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 18, 2020
* [RPC] Lazily import micro when starting an RPC server

Since apache#6334 the RPC server cannot be started unless USE_MICRO is enabled. I've tracked this down to an import in `python/tvn/exec/rpc_server.py`: `from tvm import micro` in the top level list of imports. This will mean that we try to import micro when it's not been built. Fix this by lazily importing micro when initializing an rpc server with micro enabled.

Change-Id: I8f22d81e215cfe4ac0662b0a99bdf02a3e91f90c

* fix lint

Change-Id: I8b78b678374bc82b3b66a7b3595ed4f1684e7d90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants